<style type="text/css">
    .huibg
    {
        background-color: #eee;
    }
    .tooltip_style
    {
        float: left;
    }
</style>

<div class="loading_bg" style="z-index: 999" ng-click="isHideFun()"></div>
<div class="new_target_windows">
    <div class="ntw_content"> 
        <div class="title">
            <h1 ng-bind="editState==1?'问答审核':'问答编辑'"></h1><div class="close"  ng-click="isHideFun()"><span>+</span></div>
            <div class="clear"></div>
        </div>
       <ul class="ulzu">
           <li><i class="iconfont">&#xe652;</i>问答标题：
           <span ng-bind="item.title" ng-if="editState==1"></span>
           <input type="" ng-model="item.title" class="xiaoge "  placeholder="请输入专栏标题"  style="width: 80%;" ng-if="editState==2"></li>
           <li><i class="iconfont">&#xe6d6;</i>问题来源：
          [{{(item.xtype==1?'课程':(item.xtype==2?'试题':(item.xtype==3?'新闻':(item.xtype==4?'专栏':'其他'))))}}]{{item.xname}}
            </li>
           <li style="border: 0"><i class="iconfont">&#xe658;</i>状态：
           <span ng-if="state=='2'&&editState==1">已通过<i class="iconfont" style=" color:#39f;" tooltips tooltip-side="right" tooltip-template="该提问已审核通过，不可再修改状态！">&#xe646;</i> </span>
           <select ng-model="item.state"  ng-if="state!='2'&&editState==1">
              <option value ="0">审核中</option>
              <option value="1">未通过</option>
              <option value="2">已通过</option>
            </select>
            <i class="iconfont"  ng-if="state!='2'&&editState==1" style=" color:#39f;" tooltips tooltip-side="right" tooltip-template="提问审核通过后，不可修改状态！">&#xe646;</i>
            <span ng-bind="item.state==0?'审核中':(item.state==1?'未通过':'已通过')" ng-if="editState==2"></span>
           </li>
       </ul> 

<ul class="ulzu">
    <li>
        <textarea class="xiaoge " placeholder="专栏描述" rows="5" cols="5" ng-model="item.content"
            style="height: 150px; width: 100%;" ng-if="editState==2"></textarea>
            <span ng-if="editState==1" ng-bind-html="item.content|to_html"></span>
    </li>
    
</ul>

</div>
<div class="ntw_footer">
    <div class="new_curriculum_bottom_right">
        <div class="btn queding" style="width: 100px;" ng-click="saveObj()" ng-if="state!='2'||editState==2">
            <span class="ng-scope"><i class="iconfont">&#xe6ee;</i> 确定保存</span>
        </div>
    </div>
</div>
</div>
<!--图文类型新增/编辑-->
<div class="knowledgebase_xinjian_body" ng-if="showfileTxt">
    <div class="knowledgebase_xinjian_bj">
    </div>
    <div class="knowledgebase_select_move_body">
        <div class="knowledgexjjsb" ng-style="divnotepad">
            <div class="knowledgexjjsbbody">
                <div class="knowledgexjjsbtitle" style="padding-top: 25px;">
                    <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                        <btnloading isbtnload="isbtnload"></btnloading>
                    </div>
                    <div class="knowledgexjjsbtitleright" ng-click="showFileText()" ng-if="!isbtnload">
                        <svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                        保存</div>
                    <div class="close" ng-click="showFileText()" style="margin: 0">
                        <span>+</span></div>
                </div>
                <div contenteditable="true" ng-model="item.gradeIntroduce" configbtn="configbtnjishiben"
                    style="height: 500px; clear: none;">
                </div>
            </div>
        </div>
    </div>
</div>
